跳转至

NET_SDK_NODE_PARAM

结构体定义

1
2
3
4
5
6
7
8
typedef struct _net_sdk_node_param {
    unsigned int nodeType;                  
    struct {
        unsigned int ids[16];               
        unsigned int count;                 
    } conditions;                           
    unsigned int reserved[128];             
}NET_SDK_NODE_PARAM;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct  NET_SDK_NODE_PARAM
{
    UInt16 nodeType;
    public struct CONDITIONS
    {
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U4, SizeConst = 16)]
        public UInt32[] ids;
        public UInt32 count;
    };
    public CONDITIONS conditions;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U4, SizeConst = 128)]
    public UInt32[]  reserved;
}

功能描述

设备节点查询参数

成员说明

成员类型说明
nodeTypeunsigned int 节点类型,参考CHANNEL_TYPE
conditions
1
2
3
4
struct {
    unsigned int ids[16];               // [in] 条件,capability 数组,参考NET_SDK_STANDARD_CAPABILITY
    unsigned int count;                 // [in] 有效个数
} conditions;
查询条件
reservedunsigned int[128] 预留
错误码